const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  username: state => state.user.username, // 账号信息
  rolescode: state => state.user.rolescode, // 当前角色信息
  rolesname: state => state.user.rolesname, // 当前角色信息
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  address: state => state.user.address

}
export default getters
